package com.gcit.seniorWish.web.modular.examinee.warpper;

import com.gcit.seniorWish.web.common.constant.factory.ConstantFactory;
import com.gcit.seniorWish.core.base.warpper.BaseControllerWarpper;

import java.util.List;
import java.util.Map;

/**
 * 班级信息列表的包装类
 *
 * @author fengshuonan
 * @date 2017年2月19日10:59:02
 */
public class ClassWarpper extends BaseControllerWarpper {

	public ClassWarpper(List<Map<String, Object>> list) {
		super(list);
	}

	@Override
	public void warpTheMap(Map<String, Object> map) {
		map.put("schoolName", ConstantFactory.me().getSeniorSchoolById((String) map.get("senoirSchoolId")).getSchoolName());
	}

}
